import React, { useContext } from 'react'
import { ThemeContext, UserContext } from "../Context";

export default () => {
    const { themeColor } = useContext(ThemeContext)
    const { name } = useContext(UserContext)
    return (
        <div className='border'>
            <h1 className={themeColor}>UserContextPage</h1>
            <p>your name is : {name}</p>
        </div>
    )
}
